﻿#pragma once

#include <QDialog>
#include "ui_DefectMapSetting.h"
#include "QComboBox"
#include "DefectMapSetting.h"
#include "QVector"
#include "DefectMap.h"
#include "QComboBox"

class DefectMapSettingDlg : public QDialog
{

	Q_OBJECT

public:
	DefectMapSettingDlg(QDialog* parent = Q_NULLPTR);
	~DefectMapSettingDlg();
	void initBlemishInfo(void*);
private:
	Ui::DefectMapSetting ui;

private:
	//void showColorDialog(int index);
	void addComboxItem(QComboBox* box);
	void* p_data;

private slots:
	void on_pushButton_Save_clicked();
	void on_pushButton_Cannel_clicked();
	void slot_btnColor(const QColor& color);
};
